<?php
include 'koneksi.php';

$name =$_POST['name'];
$date =$_POST['date'];
$comment =$_POST['comment'];

$query = "INSERT INTO faq (alias, tanggal, pertanyaan)
VALUES ('$name','$date','$comment')";

if (!mysql_query($query,$con))
  {
  die('error: ' . mysql_error());
  }

include "faq.php";
?>